<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Insert title here</title>
</head>
<body>
	<table  style="border:1px solid #F00">
	<tr style="border:1px solid #F00">
	<th style="border:1px solid #F00">ID</th>
	<th style="border:1px solid #F00">message</th>
	<th style="border:1px solid #F00">date</th>
	<th style="border:1px solid #F00">latitude</th>
	<th style="border:1px solid #F00">longitude</th>
	<th style="border:1px solid #F00">others</th>
	</tr>
	<c:forEach items="${spittleList}" var="spittle">
	<tr style="border:1px solid #F00">
		<td style="border:1px solid #F00"><c:out value="${spittle.id}"/></td>
		<td style="border:1px solid #F00"><c:out value="${spittle.message}"/></td>
		<td style="border:1px solid #F00"><c:out value="${spittle.date}"/></td>
		<td style="border:1px solid #F00"><c:out value="${spittle.latitude}"/></td>
		<td style="border:1px solid #F00"><c:out value="${spittle.longitude}"/></td>
		<td style="border:1px solid #F00" align="center"><a href="<%=request.getContextPath() %>/spittles/profile/${spittle.id}">详细</a></td>
	</tr>
	</c:forEach>
	</table>

</body>
</html>